package com.ningju.procurement.core.testmanager.bean;

import com.ningju.procurement.common.bean.BaseBean;
import com.ningju.procurement.core.common.bean.User;
import com.ningju.procurement.core.questionnaire.bean.Project;
import org.joda.time.DateTime;

import java.util.Date;
import java.util.List;

/**
 * 用户评测项目
 *
 * 如果是个人用户则没有企业id、开始时间、结束时间
 */
public class TestProject extends BaseBean {

    /**
     * 所属企业id
     */
    private Long companyId;

    /**
     * 源评测项目
     */
    private Project sourceProject;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 开始时间
     */
    private DateTime startTime;

    /**
     * 结束时间
     */
    private DateTime endTime;

    /**
     * 答卷人员
     */
    private List<User> userList;

    public Project getSourceProject() {
        return sourceProject;
    }

    public void setSourceProject(Project sourceProject) {
        this.sourceProject = sourceProject;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public DateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(DateTime startTime) {
        this.startTime = startTime;
    }

    public DateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(DateTime endTime) {
        this.endTime = endTime;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

}
